import { RouteRecordRaw } from 'vue-router';

export default {
    path: '/topicElect',
    name: 'topicElect',
    redirect: '/topicElect',
    meta: {
        title: '一建-机电工程',
        icon: 'EditPen',
        sort: 5
    },
    children: [
        {
            path: '/topicElect/randomPractice',
            name: 'randomPracticeElect',
            component: () => import('@/components/topic/RandomPractice.vue'),
            meta: {
                title: '随机练习'
            }
        },
        {
            path: '/topicElect/topicManage',
            name: 'topicManageElect',
            component: () => import('@/components/topic/TopicManage.vue'),
            meta: {
                title: '习题管理'
            }
        }
    ]
} as RouteRecordRaw;